home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 September / PCWorld_2008-09_cd.bin / v cisle / sadanastroju / signature_switch-1.6.1-tb.xpi / chrome / signatureswitch.jar / content / setsignature.xul < prev    next >
Extensible Markup Language  |  2008-03-07  |  10KB  |  210 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/"?>
  4. <?xml-stylesheet href="chrome://signatureswitch/skin/options.css" type="text/css"?>
  5.  
  6. <!DOCTYPE dialog SYSTEM "chrome://signatureswitch/locale/signatureswitch.dtd">
  7.  
  8. <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  9.         id="signatureswitchSetSignature"
  10.         minwidth="300"
  11.         onload="return onLoad();"
  12.         ondialogaccept="return onDialogAccept();"
  13.         ondialogcancel="return onDialogCancel();"
  14.         buttons="accept,cancel"
  15.         title="&signatureswitch.label.setsignature.title;">
  16.  
  17.     <script type="application/x-javascript" src="chrome://signatureswitch/content/setsignature.js"/>
  18.  
  19.     <stringbundleset id="stringbundleset">
  20.         <stringbundle id="signatureswitch.locale" src="chrome://signatureswitch/locale/signatureswitch.properties"/>
  21.     </stringbundleset>
  22.  
  23.     <grid>
  24.         <columns>
  25.             <column/>
  26.             <column flex="1"/>
  27.         </columns>
  28.         <rows>
  29.             <row>
  30.                 <hbox align="center">
  31.                     <label control="description" value="&signatureswitch.label.setsignature.description;"/>
  32.                 </hbox>
  33.                 <hbox align="center">
  34.                     <textbox flex="1" id="description"/>
  35.                 </hbox>
  36.             </row>
  37.             <row>
  38.                 <hbox align="center">
  39.                     <label control="path" value="&signatureswitch.label.setsignature.path;"/>
  40.                 </hbox>
  41.                 <hbox align="center">
  42.                     <textbox flex="1" id="path"/>
  43.                     <button class="browse" id="pickSignature" oncommand="return onPickSignature();"/>
  44.                     <button class="compose" id="composeSignature" oncommand="return onComposeSignature();"/>
  45.                 </hbox>
  46.             </row>
  47.             <row>
  48.                 <separator/>
  49.             </row>
  50.             <row>
  51.                 <hbox align="center">
  52.                     <label control="shortcut" value="&signatureswitch.label.setsignature.shortcut;"/>
  53.                 </hbox>
  54.                 <hbox flex="1">
  55.                     <menulist id="shortcut_key">
  56.                         <menupopup>
  57.                             <menuseparator/>
  58.                             <menuitem label=" "/>
  59.                             <menuitem label="1"/>
  60.                             <menuitem label="2"/>
  61.                             <menuitem label="3"/>
  62.                             <menuitem label="4"/>
  63.                             <menuitem label="5"/>
  64.                             <menuitem label="6"/>
  65.                             <menuitem label="7"/>
  66.                             <menuitem label="8"/>
  67.                             <menuitem label="9"/>
  68.                             <menuitem label="0"/>
  69.                             <menuitem label="A"/>
  70.                             <menuitem label="B"/>
  71.                             <menuitem label="C"/>
  72.                             <menuitem label="D"/>
  73.                             <menuitem label="E"/>
  74.                             <menuitem label="F"/>
  75.                             <menuitem label="G"/>
  76.                             <menuitem label="H"/>
  77.                             <menuitem label="I"/>
  78.                             <menuitem label="J"/>
  79.                             <menuitem label="K"/>
  80.                             <menuitem label="L"/>
  81.                             <menuitem label="M"/>
  82.                             <menuitem label="N"/>
  83.                             <menuitem label="O"/>
  84.                             <menuitem label="P"/>
  85.                             <menuitem label="Q"/>
  86.                             <menuitem label="R"/>
  87.                             <menuitem label="S"/>
  88.                             <menuitem label="T"/>
  89.                             <menuitem label="U"/>
  90.                             <menuitem label="V"/>
  91.                             <menuitem label="W"/>
  92.                             <menuitem label="X"/>
  93.                             <menuitem label="Y"/>
  94.                             <menuitem label="Z"/>
  95.                         </menupopup>
  96.                     </menulist>
  97.                     <checkbox id="shortcut_modifier_accel" label="&signatureswitch.label.setsignature.shortcut.accel;"/>
  98.                     <checkbox id="shortcut_modifier_alt" label="&signatureswitch.label.setsignature.shortcut.alt;"/>
  99.                     <checkbox id="shortcut_modifier_control" label="&signatureswitch.label.setsignature.shortcut.control;"/>
  100.                     <checkbox id="shortcut_modifier_meta" label="&signatureswitch.label.setsignature.shortcut.meta;"/>
  101.                     <checkbox id="shortcut_modifier_shift" label="&signatureswitch.label.setsignature.shortcut.shift;"/>
  102.                 </hbox>
  103.             </row>
  104.             <row>
  105.                 <separator/>
  106.             </row>
  107.         </rows>
  108.     </grid>
  109.  
  110.     <separator style="margin-bottom:10px;" class="groove"/>
  111.  
  112.     <description style="margin-bottom:10px;">&signatureswitch.label.setsignature.autoswitch;</description>
  113.  
  114.     <tabbox id="autoswitchTabBox">
  115.         <tabs>
  116.             <tab label="&signatureswitch.label.setsignature.addresstab;"/>
  117.             <tab label="&signatureswitch.label.setsignature.newsgrouptab;"/>
  118.             <tab label="&signatureswitch.label.setsignature.mailinglisttab;"/>
  119.         </tabs>
  120.         <tabpanels flex="1">
  121.             <tabpanel id="addresstab" flex="1" orient="vertical">
  122.                 <description width="300" style="margin-bottom:10px;">&signatureswitch.label.setsignature.autoswitch.description.addresses;</description>
  123.                 <hbox align="top">
  124.                     <grid>
  125.                         <columns>
  126.                             <column/>
  127.                             <column/>
  128.                             <column/>
  129.                         </columns>
  130.                         <rows>
  131.                             <row>
  132.                                 <hbox align="center">
  133.                                     <label value="&signatureswitch.label.setsignature.autoswitch.address;"/>
  134.                                 </hbox>
  135.                                 <textbox id="address" size="10"/>
  136.                                 <button id="addAddress" label="&signatureswitch.label.setsignature.autoswitch.add;" oncommand="addAutoSwitch('address');"/>
  137.                             </row>
  138.                             <row>
  139.                                 <label/>
  140.                                 <label/>
  141.                                 <button id="removeAddress" label="&signatureswitch.label.setsignature.autoswitch.remove;" oncommand="removeAutoswitch('address');"/>
  142.                             </row>
  143.                         </rows>
  144.                     </grid>
  145.                     <listbox id="addresses" seltype="single" flex="1" rows="3"/>
  146.                 </hbox>
  147.             </tabpanel>
  148.             <tabpanel id="newgrouptab" flex="1" orient="vertical">
  149.                 <description width="300" style="margin-top:10px;margin-bottom:10px;">&signatureswitch.label.setsignature.autoswitch.description.newsgroups;</description>
  150.                 <hbox align="top">
  151.                     <grid>
  152.                         <columns>
  153.                             <column/>
  154.                             <column/>
  155.                             <column/>
  156.                         </columns>
  157.                         <rows>
  158.                             <row>
  159.                                 <hbox align="center">
  160.                                     <label value="&signatureswitch.label.setsignature.autoswitch.newsgroup;"/>
  161.                                 </hbox>
  162.                                 <textbox id="newsgroup" size="10"/>
  163.                                 <button id="addNewsgroup" label="&signatureswitch.label.setsignature.autoswitch.add;" oncommand="addAutoSwitch('newsgroup');"/>
  164.                             </row>
  165.                             <row>
  166.                                 <label/>
  167.                                 <label/>
  168.                                 <button id="removeNewsgroup" label="&signatureswitch.label.setsignature.autoswitch.remove;" oncommand="removeAutoswitch('newsgroup');"/>
  169.                             </row>
  170.                         </rows>
  171.                     </grid>
  172.                     <listbox id="newsgroups" seltype="single" flex="1" rows="3"/>
  173.                 </hbox>
  174.             </tabpanel>
  175.             <tabpanel id="mailinglisttab" flex="1" orient="vertical">
  176.                 <description width="300" style="margin-top:10px;margin-bottom:10px;">&signatureswitch.label.setsignature.autoswitch.description.mailinglists;</description>
  177.                 <hbox align="top">
  178.                     <grid>
  179.                         <columns>
  180.                             <column/>
  181.                             <column/>
  182.                             <column/>
  183.                         </columns>
  184.                         <rows>
  185.                             <row>
  186.                                 <hbox align="center">
  187.                                     <label value="&signatureswitch.label.setsignature.autoswitch.mailinglist;"/>
  188.                                     <button class="mailinglist" id="pickMailinglist" oncommand="return onPickMailinglist();"/>
  189.                                 </hbox>
  190.                                 <textbox id="mailinglist" size="10"/>
  191.                                 <button id="addMailinglist" label="&signatureswitch.label.setsignature.autoswitch.add;" oncommand="addAutoSwitch('mailinglist');"/>
  192.                             </row>
  193.                             <row>
  194.                                 <label/>
  195.                                 <label/>
  196.                                 <button id="removeMailinglist" label="&signatureswitch.label.setsignature.autoswitch.remove;" oncommand="removeAutoswitch('mailinglist');"/>
  197.                             </row>
  198.                         </rows>
  199.                     </grid>
  200.                     <listbox id="mailinglists" seltype="single" flex="1" rows="3"/>
  201.                 </hbox>
  202.             </tabpanel>
  203.         </tabpanels>
  204.     </tabbox>
  205.  
  206.     <description width="300" style="margin-top:10px;">&signatureswitch.label.setsignature.autoswitch.description.wildcard1;</description>
  207.     <description width="300" style="margin-bottom:10px;">&signatureswitch.label.setsignature.autoswitch.description.wildcard2;</description>
  208.  
  209. </dialog>
  210.